/*
 * Copyright (c) 2012 Universidad Antonio de Nebrija.
 * All rights reserved. This program and the accompanying materials
 * are made available under the terms of the Apache License v2.0
 * which accompanies this distribution, and is available at
 * http://www.apache.org/licenses/LICENSE-2.0.html
 * 
 * Contributors:
 *    Universidad Antonio de Nebrija - initial API, implementation and documentation
 */
package com.nebrija.riif.cli;

/**
 * Exception to handle errors in the command pattern
 * @author asanchep
 *
 */
public class CommandException extends Exception {
	
	private static final long serialVersionUID = 1L;

	//TODO: Internationalization
	public static final String NOT_ENOUGH_PARAMS = "Not enough parameters"; 
	public static final String COMMAND_NOT_FOUND = "Command not found";
	public static final String ELEMENT_NOT_FOUND = "Component not found"; 

	/**
	 * Creates a CommandException with the error message
	 * @param message the error message
	 */
	public CommandException(String message) {
		super(message);
	}

}
